package com.bird.pro.service;

import java.util.List;

import com.bird.pro.Page;
import com.bird.pro.Params;
import com.bird.pro.pojo.BirdAdmin;

public interface IAdminService {

	public List<BirdAdmin> queryAdmins();
	
	public List<BirdAdmin> queryAdmins(String adminName, String adminPhone, String account);
	
	public Page queryByParams(Params params,Integer roleId);
	
	public BirdAdmin getAdminById(Integer id);
	
	public int saveAdmin(BirdAdmin admin);
	
	public int updateAdmin(BirdAdmin admin);
	
	public int deleteAdmin(Integer id);
}
